package com.ylsk.check.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;

/**
 * 高速路段管理对象 ins_expressway_section
 *
 * @author yangsy
 * @date 2023-12-06
 */
@TableName("ins_expressway_section")
public class ExpresswaySection extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 高速路段id */
    @TableId
    private Long expresswaySectionId;

    /** 高速路段名称 */
    @Excel(name = "高速路段名称")
    private String expresswaySectionName;

    /** 开始桩号 */
    @Excel(name = "开始桩号")
    private String startStation;

    /** 结束桩号 */
    @Excel(name = "结束桩号")
    private String endStation;

    /** 归属大队 */
    @Excel(name = "归属大队")
    private Long deptId;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNumber;


    public void setExpresswaySectionId(Long expresswaySectionId)
    {
        this.expresswaySectionId = expresswaySectionId;
    }

    public Long getExpresswaySectionId()
    {
        return expresswaySectionId;
    }
    public void setExpresswaySectionName(String expresswaySectionName)
    {
        this.expresswaySectionName = expresswaySectionName;
    }

    public String getExpresswaySectionName()
    {
        return expresswaySectionName;
    }
    public void setStartStation(String startStation)
    {
        this.startStation = startStation;
    }

    public String getStartStation()
    {
        return startStation;
    }
    public void setEndStation(String endStation)
    {
        this.endStation = endStation;
    }

    public String getEndStation()
    {
        return endStation;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setOrderNumber(Long orderNumber)
    {
        this.orderNumber = orderNumber;
    }

    public Long getOrderNumber()
    {
        return orderNumber;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("expresswaySectionId", getExpresswaySectionId())
            .append("expresswaySectionName", getExpresswaySectionName())
            .append("startStation", getStartStation())
            .append("endStation", getEndStation())
            .append("deptId", getDeptId())
            .append("orderNumber", getOrderNumber())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
